<?	
	session_start();


	if(isset($_POST['deco']))
	{
		session_destroy();
		echo "<script language=javascript>alert('You are now disconnected')</script>";
		$toto=1;
		echo '<meta http-equiv="refresh" content="0;URL=index.php">';
	}
?>

<form method="post" action="index.php">
<input type="hidden" name="deco"/>
<input class=logout type="submit" value="Disconnect" />
</form>
